package com.change.study.data.service;

import com.change.study.data.core.Pagination;
import com.change.study.data.dto.ArticlePageRpc;
import com.change.study.data.entity.Article;
import com.openyelp.annotation.RestFul;


@RestFul(api=ArticleService.class,value="ArticleService")
public interface ArticleService {
	public Pagination getPage(int pageNo, int pageSize);

	public Article findById(Long id);

	public Article save(Article bean);

	public Article update(Article bean);

	public Article deleteById(Long id);
	
	public Article[] deleteByIds(Long[] ids);
	
	
	public ArticlePageRpc pageByCatalog(int catalog,int pageNo, int pageSize);

}